const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  publicPath: './static/',

  // 2. 设置资源输出到static文件夹（确保与实际存放一致）
  outputDir: 'dist', 
  assetsDir: 'static', 
  assetsDir: 'static',
  transpileDependencies: true,
  css: {
    loaderOptions: {
      sass: {
        additionalData: `@import "@/assets/scss/variables.scss";`
      }
    }
  }
})